import { createApp } from "vue";
import App from "./App.vue";
import ElementPlus from "element-plus";
import * as ElementPlusIconsVue from '@element-plus/icons-vue';
import 'element-plus/dist/index.css';
import 'element-plus/theme-chalk/dark/css-vars.css'
import 'echarts'
import router from './router'
import { createPinia } from 'pinia';
import './assets/css/icon.css';
const app = createApp(App);
app.use(ElementPlus)
// 注册elementplus图标
for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
    app.component(key, component);
}
app.use(router)
app.use(createPinia());
app.mount("#app")

